package com.sandasai.domain;

import java.util.HashSet;
import java.util.Set;

/**
 * Teacher entity. @author MyEclipse Persistence Tools
 */

public class Teacher implements java.io.Serializable {

	// Fields

	private Integer id;
	private User user;
	private String workUnit;
	private String realName;
	private String position;
	private String jobId;
	private String tel;
	private Boolean verified;
	private Set marks = new HashSet(0);

	// Constructors

	/** default constructor */
	public Teacher() {
	}

	/** minimal constructor */
	public Teacher(Integer id, User user) {
		this.id = id;
		this.user = user;
	}

	/** full constructor */
	public Teacher(Integer id, User user, String workUnit,
			String realName, String position, String jobId, String tel,
			Boolean verified, Set marks) {
		this.id = id;
		this.user = user;
		this.workUnit = workUnit;
		this.realName = realName;
		this.position = position;
		this.jobId = jobId;
		this.tel = tel;
		this.verified = verified;
		this.marks = marks;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getWorkUnit() {
		return this.workUnit;
	}

	public void setWorkUnit(String workUnit) {
		this.workUnit = workUnit;
	}

	public String getRealName() {
		return this.realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getPosition() {
		return this.position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getJobId() {
		return this.jobId;
	}

	public void setJobId(String jobId) {
		this.jobId = jobId;
	}

	public String getTel() {
		return this.tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public Boolean getVerified() {
		return this.verified;
	}

	public void setVerified(Boolean verified) {
		this.verified = verified;
	}

	public Set getMarks() {
		return this.marks;
	}

	public void setMarks(Set marks) {
		this.marks = marks;
	}

}